<?xml version="1.0"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	version="1.0">
	<xsl:output method="xml" indent="yes" />

	<xsl:template match="/Tasks/Series/Parallel[2]">

		The context node (result of match) appears below:
		<xsl:copy-of select="." />


		** ancestor axis **
		<xsl:for-each select="ancestor::*">

			** selection **

			<xsl:copy-of select="self::node()" />

		</xsl:for-each>

		** ancestor-or-self axis **
		<xsl:for-each select="ancestor-or-self::*">

			** selection **

			<xsl:copy-of select="self::node()" />

		</xsl:for-each>

		** descendant axis **
		<xsl:for-each select="descendant::*">

			** selection **

			<xsl:copy-of select="self::node()" />

		</xsl:for-each>

		** descendant-or-self axis **
		<xsl:for-each select="descendant-or-self::*">

			** selection **

			<xsl:copy-of select="self::node()" />

		</xsl:for-each>


		** following axis **
		<xsl:for-each select="following::*">

			** selection **

			<xsl:copy-of select="self::node()" />

		</xsl:for-each>

		** following-sibling axis **
		<xsl:for-each select="following-sibling::*">

			** selection **

			<xsl:copy-of select="self::node()" />

		</xsl:for-each>

		** parent **
		<xsl:for-each select="parent::*">

			** selection **

			<xsl:copy-of select="self::node()" />

		</xsl:for-each>
		** preceding axis **
		<xsl:for-each select="preceding::*">

			** selection **

			<xsl:copy-of select="self::node()" />

		</xsl:for-each>
		** preceding-sibling axis **
		<xsl:for-each select="preceding-sibling::*">

			** selection **

			<xsl:copy-of select="self::node()" />

		</xsl:for-each>
	</xsl:template>

</xsl:stylesheet>
